package com.example.cleantest;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

import com.my.ads.lib.AdSummary;
import com.my.ads.lib.activity.BaseActivity;
import com.rapid.clean.deep.R;

/**
 * Created by xuanyang on 2018/3/5.
 */

public class SecondActivity extends BaseActivity {



    Button bt;



    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        AdSummary.getInstance().showInterstitialAd(this, 0, "");

        bt = (Button)findViewById(R.id.goButton);
        bt.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                startActivity(new Intent(SecondActivity.this, ThirdActivity.class));
            }
        });
        bt.setText("go third");

    }

}
